export function fakeRequest() {
  return new Promise<boolean>(resolve => {
    setTimeout(
      () => {
        resolve(Math.random() > 0.1);
      },
      Math.floor(Math.random() * 1000 + 200)
    );
  });
}
